package cn.itlb.spring.test;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import cn.itlb.spring.service.UserService;

public class test {
	static Log log = LogFactory.getLog(test.class);
	public static void main(String[] args) {
		ApplicationContext ctx=new ClassPathXmlApplicationContext("applicationContext*.xml");
		
		UserService userService=ctx.getBean(UserService.class);
		
		userService.add("2","张三");
	}

}
